﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;

namespace Monk.Solu.Repository
{
    public class ActiveRecord
    {
        private ActiveRecord() { }
        public static SqlSugarClient Instance()
        {
            string connectionString = ConfigurationManager.ConnectionStrings["Monk"].ToString();
            SqlSugarClient db = new SqlSugarClient(connectionString);

            return db;
        }
    }
}